<!DOCTYPE html>
<html>
<head>
	<title>阳新帝豪装饰后台---添加菜单</title>
	{include file="public/head" /}
	{load href="/static/js/addMenu.js" /}
</head>
<body class="childrenBody">
<form class="layui-form" action="" lay-filter="example" method="post">
	<div class="layui-form-item">
		<label class="layui-form-label">菜单名称</label>
		<div class="layui-input-block">
			<input type="text" name="name" value="{$menuInfo.name}"  lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">父级菜单</label>
		<div class="layui-input-block">
			<select name="parent_id" lay-verify="">
				{volist name="parentMenu" id="vo"}
					<option value="{$key}" {if condition="$menuInfo.parent_id == $key "}selected {/if} >{$vo}</option>
				{/volist}
			</select>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">M</label>
		<div class="layui-input-block">
			<input type="text" value="{$menuInfo.project}" name="project" lay-verify="title" autocomplete="off" placeholder="请输m" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">c</label>
		<div class="layui-input-block">
			<input type="text"  value="{$menuInfo.c}" name="c" lay-verify="title" autocomplete="off" placeholder="请输a" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">a</label>
		<div class="layui-input-block">
			<input type="text" value="{$menuInfo.a}" name="a" lay-verify="title" autocomplete="off" placeholder="请输c" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">排序</label>
		<div class="layui-input-block">
			<input type="text" value="{$menuInfo.sort_no}" name="sort" lay-verify="title" autocomplete="off" placeholder="请输排序" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">菜单样式</label>
		<div class="layui-input-block">
			<input type="text" value="{$menuInfo.menu_class}" name="menu_class" lay-verify="title" autocomplete="off" placeholder="请输入菜单样式" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">菜单标识</label>
		<div class="layui-input-block">
			<input type="text" value="{:$menuInfo['mark'] == '无'?'':$menuInfo['mark']}"  name="mark" lay-verify="title" autocomplete="off" placeholder="请输入菜单样式" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">是否显示</label>
		<div class="layui-input-block">
			<select name="show" lay-verify="">
				<option value="1" {if condition="$menuInfo.show_menu == 1 "}selected {/if}>显示</option>
				<option value="0" {if condition="$menuInfo.show_menu == 0 "}selected {/if} >不显示</option>
			</select>
		</div>
	</div>

	<div class="layui-form-item">
		<label class="layui-form-label">菜单状态</label>
		<div class="layui-input-block">
			<select name="status" lay-verify="">
				<option value="1" {if condition="$menuInfo.status == 1 "}selected {/if} >启用</option>
				<option value="0" {if condition="$menuInfo.status == 0 "}selected {/if} >禁用</option>
			</select>
		</div>
	</div>
	<input type="hidden" value="{$menuInfo.id}" name="id">
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button class="layui-btn" lay-submit="" lay-filter="submit" >立即提交</button>
		</div>
	</div>
</form>
</body>
</html>